import { http } from '@/utils/http/axios';

/**
 * @description: 获取图片列表
 */
export function homeswiperList(params) {
    return http.request({
      url: '/disposition/homeswiperlist',
      method: 'GET',
      params,
    });
}

export function homeswiperAdd(params) {
    return http.request({
      url: '/disposition/homeswiperadd',
      method: 'POST',
      params,
    });
}

export function homeswiperEdit(params) {
    return http.request({
      url: '/disposition/homeswiperedit',
      method: 'POST',
      params,
    });
}

export function homeswiperInfo(params){
  return http.request({
    url: '/disposition/homeswiperinfo',
    method: 'POST',
    params,
  });
}

export function delhomeswiper(params) {
    return http.request({
      url: '/disposition/homeswiperdel',
      method: 'POST',
      params,
    });
}

export function roadList(params) {
  return http.request({
    url: '/disposition/roadlist',
    method: 'GET',
    params,
  });
}